<?php


use think\facade\Route;

Route::get('crud/posts_comment', 'crud.PostsComment/index')->option(['real_name' => '帖子评论列表接口']);

Route::get('crud/posts_comment/create', 'crud.PostsComment/create')->option(['real_name' => '帖子评论获取创建表单接口']);

Route::post('crud/posts_comment', 'crud.PostsComment/save')->option(['real_name' => '帖子评论保存接口']);

Route::get('crud/posts_comment/:id/edit', 'crud.PostsComment/edit')->option(['real_name' => '帖子评论获取修改表单接口']);

Route::put('crud/posts_comment/:id', 'crud.PostsComment/update')->option(['real_name' => '帖子评论修改接口']);

Route::put('crud/posts_comment/status/:id', 'crud.PostsComment/status')->option(['real_name' => '帖子评论修改状态接口']);

Route::delete('crud/posts_comment/:id', 'crud.PostsComment/delete')->option(['real_name' => '帖子评论删除接口']);

Route::get('crud/posts_comment/:id', 'crud.PostsComment/read')->option(['real_name' => '帖子评论查看接口']);



